package com.shanghaionstar.user.presenter;

import com.onstar.cn.framework.mvp.base.IMVPScheduler;
import com.onstar.cn.framework.mvp.base.IMVPView;
import com.onstar.cn.framework.mvp.base.core.BasePresenter;
import com.onstar.cn.vehicle.response.RemoteHistoryEntity;
import com.shanghaionstar.user.service.RemoteControlHistoryService;

/**
 * Created by onstarios on 16/7/13.
 */
public class RemoteControlHistoryPresenter extends BasePresenter<RemoteHistoryEntity> {

//    private IRemoteControlHistoryView remoteControlHistoryView;
    private RemoteControlHistoryService service;

    public RemoteControlHistoryPresenter(IMVPScheduler mvpScheduler) {
        super(mvpScheduler);
    }

//    @Override
    public void setView(IMVPView<RemoteHistoryEntity> view) {
        super.setView(view);
//        remoteControlHistoryView = (IRemoteControlHistoryView) view;
        service = new RemoteControlHistoryService(view.onActivity());
        this.setServiceProvider(service);
    }


}
